# -*- coding: utf-8 -*-
# @Author : cm_Simple
# @Time : 2022/1/5
# @Remark: 温湿度 view 层
from server.common.IOTManager.TemHumidity.humidity import (TemHumidityCheckServer,
                                                           TemHumidityDevicesServer)
from view.common.IOTManager.Water.water import (WaterDevicesRead,
                                                WaterCheckRead,
                                                WaterDataRead)


class TemHumidityCheckRead(WaterCheckRead):
    def __init__(self, request):
        super().__init__(request)
        self.return_name = '温湿度'
        self.server = TemHumidityCheckServer()


class TemHumidityDevicesRead(WaterDevicesRead):
    def __init__(self, request):
        super().__init__(request)
        self.return_name = '温湿度'
        self.server = TemHumidityDevicesServer()


class TemHumidityDataRead(WaterDataRead):
    def __init__(self, request):
        super().__init__(request)
        self.return_name = '温湿度'
